JavaScript

{grid.object}getStateInfo Method

Syntax

{grid.object}.getStateInfo()

Description

Gets the data from the Grid Component's 'state' object in the form of a text string of name value pairs, delimited with '&' characters.

var stateData = {grid.object}.getStateInfo();

For information on how to extract state variable values from the string, see How to Extract the Value from a URI Query String (the "Parsing a Query String" section explains how this is done and shows an example using the {grid.object}.getStateInfo() method.)

To set state info, see {grid.object}.setStateInfo().

See Also